package com.timothy.business.model;

/**
 * Rest请求的返回数据类
 * @author Timothy
 */
public class ResultMessage<T> {

	private String status;
	private String message;
	private T jsonResult;

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getJsonResult() {
		return jsonResult;
	}

	public void setJsonResult(T jsonResult) {
		this.jsonResult = jsonResult;
	}

	@Override
	public String toString() {
		return "ResultMessage{" + "status='" + status + '\'' + ", message='" + message + '\'' + ", jsonResult="
				+ jsonResult + '}';
	}
}
